package cn.gson.springboot.model.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

import cn.gson.springboot.model.pojos.DoctorsAdvice;

@Mapper
public interface AdviceDetailsMappers {

	//查询医嘱详情
	public JSONArray selectAdviceDetailsAll(@Param("docadviceid") Integer docadviceid);

	//修改医嘱详情的状态，作为已执行
	public void updateAdviceDetailsSatus(
			@Param("docdetails_type") Integer docdetails_type,
			@Param("docdetailsid") Integer docdetailsid);
	
	public void updateAdviceDetailsHz(@Param("hz") Integer hz,@Param("docdetailsid") Integer docdetailsid);
	
}
